package cn.wolfcode.shop.cloud.service;

import cn.wolfcode.shop.cloud.vo.SeckillGoodVO;

import java.util.List;

public interface ISeckillGoodService {

    List<SeckillGoodVO> query();

    SeckillGoodVO queryById(Long seckillId);

    int decr(Long seckillId);

    SeckillGoodVO queryByIdByRedis(Long seckillId);

    List<SeckillGoodVO> queryByRedis();

    void incrStockCount(Long goodId);

    void incrRedisStockCount(Long goodId);
}
